eric7.Plugins.VcsPlugins.vcsMercurial.HgRepoConfigDataDialog

Module implementing a dialog to enter data needed for the initial creation of a repository configuration file (hgrc).

Global Attributes

None

Classes

HgRepoConfigDataDialog Class implementing a dialog to enter data needed for the initial creation of a repository configuration file (hgrc).

Functions

None


HgRepoConfigDataDialog

Class implementing a dialog to enter data needed for the initial creation of a repository configuration file (hgrc).

Derived from

QDialog, Ui_HgRepoConfigDataDialog

Class Attributes

None

Class Methods

None

Methods

HgRepoConfigDataDialog Constructor
getData Public method to get the data entered into the dialog.
getLargefilesData Public method to get the data for the largefiles extension.

Static Methods

None

HgRepoConfigDataDialog (Constructor)

HgRepoConfigDataDialog(withLargefiles=False, largefilesData=None, parent=None)

Constructor

withLargefiles (bool)
flag indicating to configure the largefiles section
largefilesData (dictdict)
dictionary with data for the largefiles section
parent (QWidget)
reference to the parent widget

HgRepoConfigDataDialog.getData

getData()

Public method to get the data entered into the dialog.

Return:
tuple giving the default and default push URLs
Return Type:
tuple of (str, str)

HgRepoConfigDataDialog.getLargefilesData

getLargefilesData()

Public method to get the data for the largefiles extension.

Return:
tuple with the minimum file size and file patterns. None as value denote to use the default value.
Return Type:
tuple of (int, list of str)
Up